#pragma once
class Linkedlist {
	friend class LinkedListQueue;
private:
	Linkedlist* next;
	int val;
public:
	Linkedlist(int x);

	Linkedlist* GetNext();

	void SetNext(int _val);

	void Insert(Linkedlist* node, Linkedlist* p);

	void Delete(Linkedlist* node);

	Linkedlist* Get(Linkedlist* head, int index);

	int Find(Linkedlist* head, int findValue);

	void Test();
};